package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDTO;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveService extends IService<AdSensitive> {
    //分页查询
    ResponseResult fendList(SensitiveDTO sensitiveDTO);
    //添加敏感词
    ResponseResult addDto(AdSensitive adSensitive);
    //修改敏感词
    ResponseResult updateAd(AdSensitive adSensitive);
    //删除敏感词
    ResponseResult deleteById(Integer id);
    //查询敏感词
    ResponseResult selectAllSensitives();

}
